package lumis.doui;

import lumis.util.converter.IConverter;

/**
 * Text extracted from a value of a data type, for indexing purposes.
 * 
 * @version $Revision: 10458 $ $Date: 2009-06-02 15:49:09 -0300 (Tue, 02 Jun 2009) $
 * @since 4.0.10
 * 
 * @deprecated Since 4.2.2, {@link IConverter} support by data types
 * for extracting text for indexing is deprecated and may be removed in the future.
 * Instead indexable data objects should implement {@link lumis.doui.search.ISearchable}.
 */
@Deprecated
public class ExtractedText
{
	private String text;

	public ExtractedText(String text)
	{
		this.text = text;
	}

	@Override
	public String toString()
	{
		return text;
	}
}
